Fix an array overrun
authorMatthias Clasen <mclasen@redhat.com>
Thu, 23 Jun 2016 19:46:45 +0000 (15:46 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 23 Jun 2016 19:47:47 +0000 (15:47 -0400)
When I introduced the new input source enum value for
track points, I forgot that there is a fixed-size array
with names for those in the inspector.

gtk/inspector/general.c

index 04bdbad26a36c308ab45067b783687171dc06dd0..31dd6aac9e26720a4ddcf653b2499300521a2f46 100644 (file)
@@ -474,7 +474,8 @@ add_device (GtkInspectorGeneral *gen,
     "Cursor",
     "Keyboard",
     "Touchscreen",
-    "Touchpad"
+    "Touchpad",
+    "Trackpoint"
   };
 
   name = gdk_device_get_name (device);